Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.0007878/0.0007878, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.0008397/0.0008397, allocations: 217.2 kB / 22.26 MB, free: 3.695 MB / 13.93 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.9745/0.9745, allocations: 230.6 MB / 256 MB, free: 9.789 MB / 202.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.7666/0.7666, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [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_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009053/0.0009053, allocations: 67.92 kB / 0.7182 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5166, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0375/0.5541, allocations: 43.03 MB / 0.8599 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.024/0.5781, allocations: 15.78 MB / 0.8753 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005587/0.5837, allocations: 254.9 kB / 0.8756 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007916/0.5916, allocations: 4.679 MB / 0.8801 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008667/0.6003, allocations: 2.928 MB / 0.883 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007354/0.6076, allocations: 3.256 MB / 0.8862 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01588/0.6235, allocations: 11.42 MB / 0.8973 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.6345, allocations: 6.782 MB / 0.9039 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008882/0.6434, allocations: 4.966 MB / 0.9088 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008816/0.6522, allocations: 5.752 MB / 0.9144 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003283/0.6555, allocations: 0.9492 MB / 0.9153 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006369/0.6619, allocations: 2.072 MB / 0.9174 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006695/0.6686, allocations: 3.788 MB / 0.9211 GB, free: 12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.009821/0.6784, allocations: 4.291 MB / 0.9252 GB, free: 7.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02072/0.6991, allocations: 14.32 MB / 0.9392 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.6991, allocations: 0 / 0.9392 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6991, allocations: 4 kB / 0.9392 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005495/0.6997, allocations: 0 / 0.9392 GB, free: 9.312 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02322/0.7229, allocations: 7.719 MB / 0.9468 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.7229, allocations: 11.97 kB / 0.9468 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003027/0.726, allocations: 0.8916 MB / 0.9477 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007064/0.733, allocations: 1.554 MB / 0.9492 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.7431, allocations: 4.378 MB / 0.9534 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004662/0.7435, allocations: 452.5 kB / 0.9539 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00388/0.7474, allocations: 0.6017 MB / 0.9545 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02426/0.7717, allocations: 10.68 MB / 0.9649 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.7719, allocations: 31.81 kB / 0.9649 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001422/0.7733, allocations: 267.9 kB / 0.9652 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/0.7747, allocations: 0.7729 MB / 0.9659 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.7918, allocations: 8.557 MB / 0.9743 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05724/0.849, allocations: 46.26 MB / 1.019 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/0.8539, allocations: 3.986 MB / 1.023 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004142/0.858, allocations: 3.357 MB / 1.027 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.8583, allocations: 42.78 kB / 1.027 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/0.8583, allocations: 69.34 kB / 1.027 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=353): time 3.777e-06/0.8583, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=578): time 0.2777/1.136, allocations: 121.1 MB / 1.145 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/1.136, allocations: 111.9 kB / 1.145 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4318/1.568, allocations: 2.674 MB / 1.148 GB, free: 287.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001276/1.569, allocations: 123.4 kB / 1.148 GB, free: 287.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/1.571, allocations: 2.753 MB / 1.151 GB, free: 286.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/1.572, allocations: 2.05 MB / 1.153 GB, free: 285.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/1.573, allocations: 0.9256 MB / 1.153 GB, free: 284.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 3.666e-05/1.573, allocations: 306.6 kB / 1.154 GB, free: 284.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004721/1.578, allocations: 4.076 MB / 1.158 GB, free: 282.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005874/1.584, allocations: 5.015 MB / 1.163 GB, free: 280.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/1.595, allocations: 9.853 MB / 1.172 GB, free: 274.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/1.595, allocations: 6.75 kB / 1.172 GB, free: 274.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02345/1.618, allocations: 16.75 MB / 1.189 GB, free: 268.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/1.619, allocations: 14.78 kB / 1.189 GB, free: 268.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/1.619, allocations: 21.78 kB / 1.189 GB, free: 268.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01575/1.634, allocations: 9.087 MB / 1.198 GB, free: 266.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.636, allocations: 0.5181 MB / 1.198 GB, free: 266.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05538/1.691, allocations: 75.92 MB / 1.272 GB, free: 193.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/1.695, allocations: 275.8 kB / 1.272 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/1.695, allocations: 188 kB / 1.273 GB, free: 193.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002976/1.698, allocations: 2.426 MB / 1.275 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005812/1.699, allocations: 0.4892 MB / 1.275 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/1.717, allocations: 16.54 MB / 1.292 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/1.717, allocations: 52 kB / 1.292 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.803e-05/1.717, allocations: 75.94 kB / 1.292 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/1.717, allocations: 27.89 kB / 1.292 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02629/1.744, allocations: 25.36 MB / 1.317 GB, free: 147.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.744, allocations: 8 kB / 1.317 GB, free: 147.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/1.744, allocations: 316.4 kB / 1.317 GB, free: 147.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01385/1.758, allocations: 8.281 MB / 1.325 GB, free: 139.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006359/1.759, allocations: 103.9 kB / 1.325 GB, free: 139.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05543/1.814, allocations: 72.78 MB / 1.396 GB, free: 65.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.814, allocations: 15.88 kB / 1.396 GB, free: 65.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02558/1.84, allocations: 21.32 MB / 1.417 GB, free: 43.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/1.842, allocations: 1.305 MB / 1.418 GB, free: 42.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004247/1.843, allocations: 114 kB / 1.418 GB, free: 42.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/1.844, allocations: 287.6 kB / 1.419 GB, free: 41.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001612/1.846, allocations: 0.5563 MB / 1.419 GB, free: 41.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.846, allocations: 144 kB / 1.419 GB, free: 41.04 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001619/1.848, allocations: 1.776 MB / 1.421 GB, free: 39.27 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.81e-07/1.848, allocations: 0 / 1.421 GB, free: 39.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005896/1.854, allocations: 2.461 MB / 1.423 GB, free: 36.81 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02132/1.875, allocations: 22.01 MB / 1.445 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.889, allocations: 13.72 MB / 1.458 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.889, allocations: 4 kB / 1.458 GB, free: 0.4922 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01124/1.9, allocations: 9.029 MB / 1.467 GB, free: 7.316 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/1.904, allocations: 1.38 MB / 1.468 GB, free: 6.012 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4741/2.379, allocations: 69.99 MB / 1.537 GB, free: 310.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006/2.385, allocations: 4.895 MB / 1.542 GB, free: 309.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002157/2.387, allocations: 0.741 MB / 1.542 GB, free: 309.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/2.389, allocations: 2.613 MB / 1.545 GB, free: 309.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.744e-06/2.389, allocations: 1.344 kB / 1.545 GB, free: 309.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2217/2.611, allocations: 204 MB / 1.744 GB, free: 143.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/17.74, allocations: 4 kB / 1.744 GB, free: 143.7 MB / 0.9792 GB " [Timeout remaining time 642] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.007695862092078] Failed to read output from testmodel.py, exit status != 0: 17.89538707002066 17.905620882 17.204011476 Calling exit ...