Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0008243/0.0008243, 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.0008403/0.0008403, 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.9271/0.9271, 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.7138/0.7138, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.265e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00879/0.008812, allocations: 6.442 MB / 0.6243 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005605/0.01442, allocations: 3.028 MB / 0.6273 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004886/0.01491, allocations: 39.62 kB / 0.6273 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.01624, allocations: 0.9521 MB / 0.6283 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008616/0.0171, allocations: 0.5318 MB / 0.6288 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.01784, allocations: 454.8 kB / 0.6292 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.01898, allocations: 1.259 MB / 0.6305 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000709/0.01969, allocations: 0.5372 MB / 0.631 GB, free: 420 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.02043, allocations: 0.6703 MB / 0.6316 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.02092, allocations: 474.7 kB / 0.6321 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.062e-05/0.02099, allocations: 64 kB / 0.6321 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.02142, allocations: 351.1 kB / 0.6325 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.02162, allocations: 335 kB / 0.6328 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.02185, allocations: 319.2 kB / 0.6331 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.02301, allocations: 1.25 MB / 0.6343 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.02301, allocations: 0 / 0.6343 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.02301, allocations: 0 / 0.6343 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.02303, allocations: 0 / 0.6343 GB, free: 12.97 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001312/0.02434, allocations: 1.108 MB / 0.6354 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.02438, allocations: 9.469 kB / 0.6354 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.655e-05/0.02448, allocations: 122.7 kB / 0.6355 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000827/0.0253, allocations: 244.1 kB / 0.6358 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.02594, allocations: 0.543 MB / 0.6363 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.02597, allocations: 45.69 kB / 0.6363 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.02604, allocations: 64.36 kB / 0.6364 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.02706, allocations: 1.332 MB / 0.6377 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.02709, allocations: 8.125 kB / 0.6377 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.02713, allocations: 32.12 kB / 0.6377 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-05/0.02723, allocations: 85.25 kB / 0.6378 GB, free: 9.152 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.028, allocations: 0.7465 MB / 0.6386 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.0312, allocations: 4.631 MB / 0.6431 GB, free: 3.605 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.03185, allocations: 0.5088 MB / 0.6436 GB, free: 3.086 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.03212, allocations: 289.7 kB / 0.6438 GB, free: 2.805 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.03214, allocations: 8.438 kB / 0.6439 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.03217, allocations: 43.06 kB / 0.6439 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.03217, allocations: 4 kB / 0.6439 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002258/0.03443, allocations: 1.678 MB / 0.6455 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.03447, allocations: 63.84 kB / 0.6456 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.03494, allocations: 0.5742 MB / 0.6462 GB, free: 392 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.03497, allocations: 37.7 kB / 0.6462 GB, free: 348 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.03517, allocations: 428 kB / 0.6466 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.03527, allocations: 182.5 kB / 0.6468 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.0354, allocations: 122.6 kB / 0.6469 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.03552, allocations: 378.8 kB / 0.6473 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.03596, allocations: 269.9 kB / 0.6475 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.03632, allocations: 0.4891 MB / 0.648 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/0.03701, allocations: 0.8047 MB / 0.6488 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.03702, allocations: 4 kB / 0.6488 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001144/0.03816, allocations: 1.074 MB / 0.6498 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.03818, allocations: 11.94 kB / 0.6498 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.03819, allocations: 4 kB / 0.6498 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.0387, allocations: 291.8 kB / 0.6501 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.03896, allocations: 123.8 kB / 0.6502 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/0.04307, allocations: 6.681 MB / 0.6568 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.04334, allocations: 44.09 kB / 0.6568 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.04336, allocations: 24 kB / 0.6568 GB, free: 4.746 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.04358, allocations: 250.6 kB / 0.6571 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.04364, allocations: 79.47 kB / 0.6571 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000904/0.04454, allocations: 0.8863 MB / 0.658 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.04455, allocations: 4 kB / 0.658 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.04455, allocations: 7.938 kB / 0.658 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.04456, allocations: 3.984 kB / 0.658 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.0461, allocations: 1.607 MB / 0.6596 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.04611, allocations: 0 / 0.6596 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.04623, allocations: 59.94 kB / 0.6597 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.04664, allocations: 271.2 kB / 0.6599 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.04666, allocations: 15.92 kB / 0.6599 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/0.05073, allocations: 6.667 MB / 0.6664 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.05073, allocations: 4.031 kB / 0.6664 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.05168, allocations: 0.9819 MB / 0.6674 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.05183, allocations: 119.5 kB / 0.6675 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.05187, allocations: 12 kB / 0.6675 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.05205, allocations: 27.97 kB / 0.6676 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.05213, allocations: 51.73 kB / 0.6676 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.05215, allocations: 16 kB / 0.6676 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002686/0.05242, allocations: 391.1 kB / 0.668 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.05242, allocations: 0 / 0.668 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000503/0.05292, allocations: 228 kB / 0.6682 GB, free: 8.469 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.05406, allocations: 1.538 MB / 0.6697 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.0552, allocations: 1.221 MB / 0.6709 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.0552, allocations: 0 / 0.6709 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006363/0.05584, allocations: 0.8658 MB / 0.6717 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.05645, allocations: 223.9 kB / 0.672 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2668/0.3233, allocations: 6.383 MB / 0.6782 GB, free: 94.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3235, allocations: 420.1 kB / 0.6786 GB, free: 94.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003169/0.3238, allocations: 121 kB / 0.6787 GB, free: 94.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.324, allocations: 254.8 kB / 0.679 GB, free: 94.05 MB / 0.6355 GB Notification: Performance of SimCode: time 1.713e-06/0.324, allocations: 0 / 0.679 GB, free: 94.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.3655, allocations: 19.45 MB / 0.6979 GB, free: 91.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.906, allocations: 3.594 kB / 0.6979 GB, free: 91.9 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.67751571815461] Failed to read output from testmodel.py, exit status != 0: 8.001266985200346 8.011036232 7.985895469 Calling exit ...