Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001093/0.001093, allocations: 109.9 kB / 18.93 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.001385/0.001385, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9485/0.9485, allocations: 230.6 MB / 256 MB, free: 9.812 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.8099/0.8099, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.0009689/0.0009689, allocations: 69.08 kB / 0.7183 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5351, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02551/0.5607, allocations: 27.93 MB / 0.8452 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.5738, allocations: 8.384 MB / 0.8533 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/0.5771, allocations: 157.3 kB / 0.8535 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005074/0.5822, allocations: 2.887 MB / 0.8563 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005612/0.5878, allocations: 1.665 MB / 0.8579 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.5925, allocations: 1.73 MB / 0.8596 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008041/0.6005, allocations: 6.144 MB / 0.8656 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006423/0.6069, allocations: 3.774 MB / 0.8693 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005579/0.6125, allocations: 2.658 MB / 0.8719 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005893/0.6184, allocations: 2.997 MB / 0.8748 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002114/0.6205, allocations: 0.5089 MB / 0.8753 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0046/0.6251, allocations: 1.306 MB / 0.8766 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003681/0.6288, allocations: 2.104 MB / 0.8787 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004489/0.6333, allocations: 2.389 MB / 0.881 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008654/0.642, allocations: 8.075 MB / 0.8889 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.642, allocations: 4 kB / 0.8889 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.565e-06/0.642, allocations: 0 / 0.8889 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002482/0.6422, allocations: 0 / 0.8889 GB, free: 13.14 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008673/0.6509, allocations: 4.264 MB / 0.893 GB, free: 8.824 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.6509, allocations: 12.03 kB / 0.8931 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001081/0.652, allocations: 0.5343 MB / 0.8936 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.6551, allocations: 0.8218 MB / 0.8944 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/0.6597, allocations: 2.534 MB / 0.8969 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.6599, allocations: 271.6 kB / 0.8971 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.6614, allocations: 376.4 kB / 0.8975 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.6749, allocations: 5.996 MB / 0.9033 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.675, allocations: 23.83 kB / 0.9034 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007235/0.6758, allocations: 160 kB / 0.9035 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003901/0.6762, allocations: 278.9 kB / 0.9038 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007863/0.684, allocations: 4.524 MB / 0.9082 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.7112, allocations: 27.23 MB / 0.9348 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.7126, allocations: 1.056 MB / 0.9358 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.7136, allocations: 0.9642 MB / 0.9368 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.555e-05/0.7137, allocations: 9 kB / 0.9368 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.7137, allocations: 55.5 kB / 0.9368 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.366e-06/0.7137, allocations: 0 / 0.9368 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=131): time 0.01397/0.7277, allocations: 9.097 MB / 0.9457 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.7277, allocations: 64.72 kB / 0.9458 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.7293, allocations: 1.502 MB / 0.9472 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.7294, allocations: 53.7 kB / 0.9473 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008059/0.7302, allocations: 1.711 MB / 0.9489 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006687/0.7309, allocations: 491.8 kB / 0.9494 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.7313, allocations: 327.4 kB / 0.9497 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.7313, allocations: 309.1 kB / 0.95 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009775/0.7323, allocations: 0.9174 MB / 0.9509 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.7335, allocations: 1.463 MB / 0.9523 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.7358, allocations: 2.542 MB / 0.9548 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.7358, allocations: 4 kB / 0.9548 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004273/0.7401, allocations: 3.283 MB / 0.958 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.7401, allocations: 14.03 kB / 0.9581 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.7401, allocations: 16 kB / 0.9581 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.7414, allocations: 0.7375 MB / 0.9588 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/0.7423, allocations: 391.3 kB / 0.9592 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.7535, allocations: 16.13 MB / 0.9749 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7549, allocations: 95.91 kB / 0.975 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.755, allocations: 83.98 kB / 0.9751 GB, free: 256 kB / 0.7448 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.001911/0.7569, allocations: 1.309 MB / 0.9764 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006053/0.7575, allocations: 210.7 kB / 0.9766 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/0.7608, allocations: 2.769 MB / 0.9793 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.7608, allocations: 12 kB / 0.9793 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.7608, allocations: 8 kB / 0.9793 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.7608, allocations: 3.984 kB / 0.9793 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007861/0.7687, allocations: 6.177 MB / 0.9853 GB, free: 5.551 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.7687, allocations: 8.656 kB / 0.9853 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.7693, allocations: 231.6 kB / 0.9856 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/0.7705, allocations: 0.671 MB / 0.9862 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.592e-05/0.7705, allocations: 28 kB / 0.9862 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.7809, allocations: 15.88 MB / 1.002 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.7809, allocations: 7.938 kB / 1.002 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004812/0.7858, allocations: 3.994 MB / 1.006 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009221/0.7867, allocations: 386.6 kB / 1.006 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.7869, allocations: 31.94 kB / 1.006 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.7875, allocations: 83.89 kB / 1.006 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.7878, allocations: 128.6 kB / 1.006 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.7878, allocations: 36 kB / 1.006 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001131/0.7889, allocations: 0.9942 MB / 1.007 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.7889, allocations: 4 kB / 1.007 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002134/0.7911, allocations: 0.6836 MB / 1.008 GB, free: 13.24 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004916/0.796, allocations: 4.592 MB / 1.012 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003687/0.7997, allocations: 3.381 MB / 1.016 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7997, allocations: 4 kB / 1.016 GB, free: 5.027 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.8019, allocations: 2.245 MB / 1.018 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.8044, allocations: 0.6714 MB / 1.019 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/0.8323, allocations: 21.31 MB / 1.039 GB, free: 11.85 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/0.8347, allocations: 2.664 MB / 1.042 GB, free: 9.152 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001189/0.8358, allocations: 489.4 kB / 1.042 GB, free: 8.672 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.8369, allocations: 1.276 MB / 1.044 GB, free: 7.395 MB / 0.823 GB Notification: Performance of SimCode: time 1.553e-06/0.8369, allocations: 0 / 1.044 GB, free: 7.395 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09408/0.931, allocations: 59.08 MB / 1.101 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.354/10.28, allocations: 6.984 kB / 1.101 GB, free: 12.8 MB / 0.8855 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.34442780003883] Failed to read output from testmodel.py, exit status != 0: 10.39122897083871 10.402734447 9.7585352 Calling exit ...