Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0007905/0.0007905, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008257/0.0008257, allocations: 165.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.8975/0.8975, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7195/0.7195, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.558e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01494/0.01497, allocations: 19.11 MB / 0.6367 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008597/0.02357, allocations: 6.386 MB / 0.643 GB, free: 4.148 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.02558, allocations: 111.2 kB / 0.6431 GB, free: 4.039 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.02908, allocations: 2.255 MB / 0.6453 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.03234, allocations: 1.278 MB / 0.6465 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002981/0.03532, allocations: 1.303 MB / 0.6478 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005315/0.04064, allocations: 4.939 MB / 0.6526 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004127/0.04476, allocations: 3.162 MB / 0.6557 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.04903, allocations: 3.009 MB / 0.6586 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.05211, allocations: 2.19 MB / 0.6608 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0009201/0.05303, allocations: 432 kB / 0.6612 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.05475, allocations: 0.9554 MB / 0.6621 GB, free: 424 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.0563, allocations: 1.781 MB / 0.6639 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002258/0.05855, allocations: 1.341 MB / 0.6652 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006818/0.06537, allocations: 6.646 MB / 0.6717 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.06538, allocations: 0 / 0.6717 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.06538, allocations: 0 / 0.6717 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001985/0.06558, allocations: 0 / 0.6717 GB, free: 6.621 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006296/0.07188, allocations: 3.427 MB / 0.675 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.07193, allocations: 9.469 kB / 0.675 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006592/0.07259, allocations: 458.6 kB / 0.6755 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.07466, allocations: 0.6662 MB / 0.6761 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3235/0.3982, allocations: 1.979 MB / 0.678 GB, free: 94.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.3984, allocations: 224 kB / 0.6783 GB, free: 94.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.3995, allocations: 298.7 kB / 0.6785 GB, free: 94.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005673/0.4052, allocations: 5.243 MB / 0.6837 GB, free: 92.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/0.4052, allocations: 16.64 kB / 0.6837 GB, free: 92.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.4054, allocations: 121.8 kB / 0.6838 GB, free: 92.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003055/0.4057, allocations: 234.1 kB / 0.684 GB, free: 92.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004292/0.41, allocations: 3.743 MB / 0.6877 GB, free: 90.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.4219, allocations: 13.56 MB / 0.7009 GB, free: 82.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.4231, allocations: 1.222 MB / 0.7021 GB, free: 81.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009148/0.424, allocations: 0.9874 MB / 0.7031 GB, free: 81.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.447e-05/0.424, allocations: 19.47 kB / 0.7031 GB, free: 81.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.4241, allocations: 44.94 kB / 0.7031 GB, free: 81.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 4.378e-06/0.4241, allocations: 1.438 kB / 0.7031 GB, free: 81.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=138): time 0.01388/0.4379, allocations: 8.424 MB / 0.7114 GB, free: 79.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.438, allocations: 65.97 kB / 0.7114 GB, free: 79.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.4393, allocations: 1.159 MB / 0.7126 GB, free: 78.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.4394, allocations: 47.39 kB / 0.7126 GB, free: 78.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005718/0.44, allocations: 1.338 MB / 0.7139 GB, free: 77.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.4402, allocations: 498.5 kB / 0.7144 GB, free: 77.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.4406, allocations: 290.2 kB / 0.7147 GB, free: 77.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.4406, allocations: 306.2 kB / 0.715 GB, free: 76.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/0.4415, allocations: 0.9128 MB / 0.7158 GB, free: 76.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.4426, allocations: 1.325 MB / 0.7171 GB, free: 75.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.4446, allocations: 2.423 MB / 0.7195 GB, free: 74.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.4447, allocations: 3.406 kB / 0.7195 GB, free: 74.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004444/0.4491, allocations: 3.435 MB / 0.7229 GB, free: 72.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.4491, allocations: 11.75 kB / 0.7229 GB, free: 72.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.4492, allocations: 12.97 kB / 0.7229 GB, free: 72.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.4515, allocations: 1.179 MB / 0.724 GB, free: 72.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.4522, allocations: 256.6 kB / 0.7243 GB, free: 72.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/0.4654, allocations: 13.34 MB / 0.7373 GB, free: 64.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.4669, allocations: 97.25 kB / 0.7374 GB, free: 64.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.467, allocations: 66.61 kB / 0.7375 GB, free: 64.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001911/0.4689, allocations: 1.113 MB / 0.7386 GB, free: 64.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/0.4693, allocations: 168.4 kB / 0.7387 GB, free: 63.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.4733, allocations: 3.139 MB / 0.7418 GB, free: 62.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.4733, allocations: 16.09 kB / 0.7418 GB, free: 62.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/0.4734, allocations: 12.64 kB / 0.7418 GB, free: 62.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.4734, allocations: 6.516 kB / 0.7418 GB, free: 62.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008122/0.4815, allocations: 5.904 MB / 0.7476 GB, free: 60.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4815, allocations: 3.656 kB / 0.7476 GB, free: 60.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.4818, allocations: 149.3 kB / 0.7477 GB, free: 60.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.4837, allocations: 1.07 MB / 0.7488 GB, free: 59.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/0.4838, allocations: 27.02 kB / 0.7488 GB, free: 59.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009172/0.4929, allocations: 13.06 MB / 0.7616 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4929, allocations: 4 kB / 0.7616 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/0.4959, allocations: 3.112 MB / 0.7646 GB, free: 46.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/0.4965, allocations: 358.8 kB / 0.7649 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4966, allocations: 28 kB / 0.765 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.4971, allocations: 83.89 kB / 0.765 GB, free: 45.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/0.4974, allocations: 132.6 kB / 0.7652 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.4974, allocations: 43.98 kB / 0.7652 GB, free: 45.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006627/0.4981, allocations: 0.7632 MB / 0.766 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4981, allocations: 0 / 0.766 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00192/0.5, allocations: 0.6562 MB / 0.7666 GB, free: 44.25 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002971/0.503, allocations: 3.705 MB / 0.7702 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003332/0.5063, allocations: 3.004 MB / 0.7732 GB, free: 37.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.5063, allocations: 8.25 kB / 0.7732 GB, free: 37.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.5081, allocations: 1.878 MB / 0.775 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.5096, allocations: 0.4984 MB / 0.7755 GB, free: 35.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/0.5271, allocations: 19.21 MB / 0.7942 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.5283, allocations: 1.769 MB / 0.796 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006757/0.529, allocations: 350.1 kB / 0.7963 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.5295, allocations: 1.008 MB / 0.7973 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/0.5295, allocations: 4 kB / 0.7973 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0836/0.6131, allocations: 55.86 MB / 0.8518 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/8.943, allocations: 6.109 kB / 0.8518 GB, free: 5.016 MB / 0.6823 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.7413259614259] Failed to read output from testmodel.py, exit status != 0: 9.051085690967739 9.059174182 8.991902654 Calling exit ...