Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0007324/0.0007324, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001244/0.001244, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9883/0.9883, allocations: 230.6 MB / 256 MB, free: 9.414 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.7921/0.7921, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.000882/0.000882, allocations: 74.61 kB / 0.7182 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5403, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03137/0.5717, allocations: 36.41 MB / 0.8534 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.5896, allocations: 11.12 MB / 0.8642 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.5931, allocations: 204.3 kB / 0.8644 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.006237/0.5993, allocations: 4.376 MB / 0.8687 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006285/0.6056, allocations: 2.344 MB / 0.871 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.6101, allocations: 2.176 MB / 0.8731 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00984/0.6199, allocations: 9.278 MB / 0.8822 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007431/0.6274, allocations: 6.332 MB / 0.8884 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006439/0.6338, allocations: 4.125 MB / 0.8924 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005313/0.6391, allocations: 4.462 MB / 0.8967 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0007666/0.6399, allocations: 0.8203 MB / 0.8975 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.6423, allocations: 1.498 MB / 0.899 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00258/0.6449, allocations: 3.235 MB / 0.9022 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002904/0.6478, allocations: 2.969 MB / 0.9051 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.658, allocations: 12.42 MB / 0.9172 GB, free: 15.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.658, allocations: 3.938 kB / 0.9172 GB, free: 15.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.093e-06/0.658, allocations: 0 / 0.9172 GB, free: 15.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002054/0.6582, allocations: 0 / 0.9172 GB, free: 15.52 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.007876/0.6661, allocations: 6.387 MB / 0.9234 GB, free: 9.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.6661, allocations: 8.031 kB / 0.9234 GB, free: 9.062 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007177/0.6668, allocations: 0.8333 MB / 0.9243 GB, free: 8.219 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/0.6696, allocations: 1.094 MB / 0.9253 GB, free: 7.121 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004238/0.6739, allocations: 3.576 MB / 0.9288 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.6741, allocations: 427.7 kB / 0.9292 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005092/0.6746, allocations: 0.5394 MB / 0.9297 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.6847, allocations: 10.29 MB / 0.9398 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.18e-05/0.6848, allocations: 27.8 kB / 0.9398 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/0.6852, allocations: 248 kB / 0.9401 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003954/0.6855, allocations: 418.9 kB / 0.9405 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008509/0.6941, allocations: 7.116 MB / 0.9474 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02435/0.7184, allocations: 26.26 MB / 0.973 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/0.7214, allocations: 2.902 MB / 0.9759 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.7235, allocations: 1.93 MB / 0.9778 GB, free: 140 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-05/0.7236, allocations: 25.98 kB / 0.9778 GB, free: 112 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.7236, allocations: 64.42 kB / 0.9779 GB, free: 40 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=209): time 4.048e-06/0.7236, allocations: 0 / 0.9779 GB, free: 40 kB / 0.7448 GB Notification: Performance of matching and sorting (n=212): time 0.01457/0.7382, allocations: 10.27 MB / 0.9879 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.7382, allocations: 81.34 kB / 0.988 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.7401, allocations: 2.048 MB / 0.99 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7402, allocations: 65.7 kB / 0.99 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.7414, allocations: 2.482 MB / 0.9924 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004088/0.7418, allocations: 0.7669 MB / 0.9932 GB, free: 248 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/0.7423, allocations: 481.6 kB / 0.9937 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.7424, allocations: 301.1 kB / 0.9939 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.7436, allocations: 1.372 MB / 0.9953 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.7452, allocations: 2.108 MB / 0.9973 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.7485, allocations: 3.773 MB / 1.001 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.7485, allocations: 4 kB / 1.001 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005171/0.7536, allocations: 5.034 MB / 1.006 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.7537, allocations: 12 kB / 1.006 GB, free: 2.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.7537, allocations: 24 kB / 1.006 GB, free: 2.488 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/0.7559, allocations: 1.583 MB / 1.008 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/0.7568, allocations: 455.2 kB / 1.008 GB, free: 464 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.7712, allocations: 17.92 MB / 1.025 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.7726, allocations: 147.9 kB / 1.026 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.7727, allocations: 104 kB / 1.026 GB, free: 13.84 MB / 0.8073 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00281/0.7755, allocations: 1.945 MB / 1.028 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.7758, allocations: 302.2 kB / 1.028 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.7802, allocations: 4.404 MB / 1.032 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.7802, allocations: 20 kB / 1.032 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.7802, allocations: 16.12 kB / 1.032 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.7802, allocations: 11.95 kB / 1.032 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00932/0.7895, allocations: 9.165 MB / 1.041 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.7895, allocations: 8.062 kB / 1.041 GB, free: 13.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.7901, allocations: 231.6 kB / 1.041 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.7919, allocations: 1.427 MB / 1.043 GB, free: 12.12 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/0.792, allocations: 40 kB / 1.043 GB, free: 12.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.8054, allocations: 17.91 MB / 1.06 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.8054, allocations: 7.938 kB / 1.06 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.8097, allocations: 4.511 MB / 1.065 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/0.8105, allocations: 0.5644 MB / 1.065 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.8107, allocations: 51.92 kB / 1.065 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.8113, allocations: 111.9 kB / 1.065 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.8116, allocations: 193.3 kB / 1.066 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/0.8117, allocations: 60 kB / 1.066 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001194/0.8129, allocations: 1.315 MB / 1.067 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8129, allocations: 0 / 1.067 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002154/0.815, allocations: 1.145 MB / 1.068 GB, free: 1.672 MB / 0.8386 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004436/0.8195, allocations: 5.114 MB / 1.073 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004463/0.8239, allocations: 4.536 MB / 1.078 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8239, allocations: 4 kB / 1.078 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.8264, allocations: 2.805 MB / 1.08 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.8283, allocations: 0.8902 MB / 1.081 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/0.8572, allocations: 30.56 MB / 1.111 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.8599, allocations: 3.163 MB / 1.114 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0011/0.861, allocations: 0.5518 MB / 1.115 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/0.8627, allocations: 1.944 MB / 1.116 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of SimCode: time 1.553e-06/0.8627, allocations: 0 / 1.116 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4846/1.347, allocations: 90.55 MB / 1.205 GB, free: 257.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.531/9.879, allocations: 0.5 kB / 1.205 GB, free: 257.4 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.070431737229228] Failed to read output from testmodel.py, exit status != 0: 9.994978533126414 10.001505429 9.342011989 Calling exit ...