Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9115/0.9115, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7144/0.7144, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.508e-05, allocations: 9.375 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02249/0.02251, allocations: 31.06 MB / 0.6484 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.03835, allocations: 14.3 MB / 0.6624 GB, free: 204 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.04128, allocations: 206.5 kB / 0.6626 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004818/0.0461, allocations: 3.673 MB / 0.6662 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006191/0.05229, allocations: 3.074 MB / 0.6692 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.05689, allocations: 2.36 MB / 0.6715 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2785/0.3354, allocations: 9.008 MB / 0.6803 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006185/0.3416, allocations: 5.493 MB / 0.6856 GB, free: 50.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007304/0.3489, allocations: 5.558 MB / 0.6911 GB, free: 50.94 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005765/0.3547, allocations: 3.73 MB / 0.6947 GB, free: 50.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001835/0.3565, allocations: 0.715 MB / 0.6954 GB, free: 50.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.3604, allocations: 1.641 MB / 0.697 GB, free: 50.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003085/0.3635, allocations: 3.021 MB / 0.6999 GB, free: 50.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004866/0.3684, allocations: 2.372 MB / 0.7023 GB, free: 50.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.3797, allocations: 11.4 MB / 0.7134 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3797, allocations: 0.9062 kB / 0.7134 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3797, allocations: 0 / 0.7134 GB, free: 48.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003989/0.3801, allocations: 0.6562 kB / 0.7134 GB, free: 48.08 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01725/0.3973, allocations: 5.998 MB / 0.7193 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.3974, allocations: 12.61 kB / 0.7193 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002941/0.4003, allocations: 0.7221 MB / 0.72 GB, free: 44.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005443/0.4058, allocations: 1.185 MB / 0.7211 GB, free: 44.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00694/0.4127, allocations: 3.465 MB / 0.7245 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.413, allocations: 377.3 kB / 0.7249 GB, free: 42.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/0.4145, allocations: 497.4 kB / 0.7253 GB, free: 42.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/0.4302, allocations: 8.858 MB / 0.734 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.4303, allocations: 24.19 kB / 0.734 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007607/0.4311, allocations: 218.8 kB / 0.7342 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007075/0.4318, allocations: 437.6 kB / 0.7346 GB, free: 37.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.4431, allocations: 6.077 MB / 0.7406 GB, free: 35.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02702/0.4701, allocations: 22.03 MB / 0.7621 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.4718, allocations: 1.914 MB / 0.764 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.4732, allocations: 1.741 MB / 0.7657 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.307e-05/0.4733, allocations: 23.38 kB / 0.7657 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.4733, allocations: 62.73 kB / 0.7657 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=171): time 3.416e-06/0.4733, allocations: 0 / 0.7657 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=276): time 0.07297/0.5463, allocations: 38.7 MB / 0.8035 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.5464, allocations: 80.86 kB / 0.8036 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/0.5491, allocations: 2.324 MB / 0.8059 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.5494, allocations: 73.7 kB / 0.806 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.5505, allocations: 2.33 MB / 0.8082 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006959/0.5512, allocations: 0.9617 MB / 0.8092 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006492/0.5518, allocations: 0.5102 MB / 0.8097 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.5519, allocations: 304.5 kB / 0.81 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.554, allocations: 1.973 MB / 0.8119 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.5567, allocations: 2.605 MB / 0.8144 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004693/0.5614, allocations: 4.928 MB / 0.8192 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.5614, allocations: 7.984 kB / 0.8192 GB, free: 2.996 MB / 0.6667 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009364/0.5707, allocations: 7.661 MB / 0.8267 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.5708, allocations: 12 kB / 0.8267 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.5708, allocations: 16 kB / 0.8268 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005362/0.5762, allocations: 3.204 MB / 0.8299 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.5773, allocations: 398.3 kB / 0.8303 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02948/0.6068, allocations: 32.74 MB / 0.8622 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.6093, allocations: 167.8 kB / 0.8624 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.6095, allocations: 112 kB / 0.8625 GB, free: 6.273 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003033/0.6126, allocations: 1.802 MB / 0.8643 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/0.6133, allocations: 341.9 kB / 0.8646 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009145/0.6225, allocations: 7.245 MB / 0.8717 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.6225, allocations: 31.98 kB / 0.8717 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.482e-05/0.6226, allocations: 28 kB / 0.8717 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/0.6226, allocations: 11.95 kB / 0.8717 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.6388, allocations: 12.14 MB / 0.8836 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6389, allocations: 4 kB / 0.8836 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.6394, allocations: 234.7 kB / 0.8838 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004731/0.6441, allocations: 2.848 MB / 0.8866 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/0.6443, allocations: 51.98 kB / 0.8866 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/0.6731, allocations: 31.55 MB / 0.9175 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.6731, allocations: 11.75 kB / 0.9175 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008471/0.6816, allocations: 6.778 MB / 0.9241 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/0.6837, allocations: 0.7221 MB / 0.9248 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/0.6842, allocations: 52 kB / 0.9248 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.6854, allocations: 167.8 kB / 0.925 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008011/0.6862, allocations: 268.5 kB / 0.9253 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.6863, allocations: 76 kB / 0.9253 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00235/0.6887, allocations: 1.521 MB / 0.9268 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6887, allocations: 4 kB / 0.9268 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006081/0.6947, allocations: 1.371 MB / 0.9282 GB, free: 2.402 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01258/0.7073, allocations: 7.404 MB / 0.9354 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008965/0.7163, allocations: 6.551 MB / 0.9418 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.7163, allocations: 0 / 0.9418 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004695/0.721, allocations: 4.251 MB / 0.9459 GB, free: 60 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/0.7246, allocations: 1.109 MB / 0.947 GB, free: 15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05017/0.7747, allocations: 39.2 MB / 0.9853 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003933/0.7787, allocations: 3.112 MB / 0.9883 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001815/0.7805, allocations: 0.5595 MB / 0.9889 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/0.7823, allocations: 1.973 MB / 0.9908 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of SimCode: time 2.094e-06/0.7823, allocations: 3.938 kB / 0.9908 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3718/1.154, allocations: 118.7 MB / 1.107 GB, free: 213.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.781/10.94, allocations: 3.859 kB / 1.107 GB, free: 213.6 MB / 0.8386 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.819335510022938] Failed to read output from testmodel.py, exit status != 0: 11.070979662239552 11.080454291 10.698741061 Calling exit ...