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.0008343/0.0008343, allocations: 105.9 kB / 18.93 MB, free: 1.266 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.0009182/0.0009182, allocations: 214.3 kB / 22.26 MB, free: 3.848 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.9309/0.9309, allocations: 230.6 MB / 256 MB, free: 3.574 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.7773/0.7773, allocations: 203.8 MB / 0.5042 GB, free: 0.7031 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.0009933/0.0009933, allocations: 71.89 kB / 0.7183 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4721/0.4731, allocations: 102 MB / 0.8179 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03041/0.5035, allocations: 39.77 MB / 0.8567 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0187/0.5222, allocations: 11.45 MB / 0.8679 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00469/0.5269, allocations: 200 kB / 0.8681 GB, free: 7 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007667/0.5346, allocations: 4.562 MB / 0.8726 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006227/0.5408, allocations: 2.329 MB / 0.8748 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.5452, allocations: 2.254 MB / 0.877 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01034/0.5556, allocations: 9.276 MB / 0.8861 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/0.5667, allocations: 6.398 MB / 0.8923 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006796/0.5735, allocations: 4.11 MB / 0.8964 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006621/0.5801, allocations: 4.743 MB / 0.901 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002342/0.5824, allocations: 0.8242 MB / 0.9018 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.5859, allocations: 1.615 MB / 0.9034 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002878/0.5888, allocations: 3.235 MB / 0.9065 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002981/0.5918, allocations: 3.649 MB / 0.9101 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009128/0.6009, allocations: 12.36 MB / 0.9222 GB, free: 8.148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.6009, allocations: 0 / 0.9222 GB, free: 8.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.377e-06/0.6009, allocations: 4 kB / 0.9222 GB, free: 8.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001843/0.6011, allocations: 0 / 0.9222 GB, free: 8.145 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.008327/0.6095, allocations: 6.391 MB / 0.9284 GB, free: 1.691 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6095, allocations: 13.45 kB / 0.9284 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007538/0.6103, allocations: 0.8216 MB / 0.9292 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/0.6129, allocations: 1.109 MB / 0.9303 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/0.6175, allocations: 3.56 MB / 0.9338 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.6177, allocations: 427.7 kB / 0.9342 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000526/0.6183, allocations: 0.5433 MB / 0.9347 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.6287, allocations: 9.377 MB / 0.9439 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.994e-05/0.6287, allocations: 19.83 kB / 0.9439 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004048/0.6291, allocations: 251.9 kB / 0.9441 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003769/0.6295, allocations: 418.9 kB / 0.9445 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008045/0.6376, allocations: 7.127 MB / 0.9515 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02823/0.6658, allocations: 40.71 MB / 0.9913 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.6687, allocations: 2.909 MB / 0.9941 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.6706, allocations: 1.934 MB / 0.996 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.801e-05/0.6707, allocations: 22 kB / 0.996 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.6707, allocations: 60.56 kB / 0.9961 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=209): time 3.547e-06/0.6707, allocations: 0 / 0.9961 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of matching and sorting (n=212): time 0.01436/0.6851, allocations: 10.28 MB / 1.006 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.6851, allocations: 73.41 kB / 1.006 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.6869, allocations: 2.01 MB / 1.008 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.684e-05/0.687, allocations: 65.7 kB / 1.008 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.6885, allocations: 2.478 MB / 1.011 GB, free: 9.254 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.6889, allocations: 0.763 MB / 1.011 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004511/0.6894, allocations: 481.5 kB / 1.012 GB, free: 8.008 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.6894, allocations: 309.1 kB / 1.012 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.6907, allocations: 1.368 MB / 1.013 GB, free: 6.332 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.6926, allocations: 2.108 MB / 1.016 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003131/0.6957, allocations: 3.766 MB / 1.019 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.6957, allocations: 8 kB / 1.019 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005465/0.7012, allocations: 5.035 MB / 1.024 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.7012, allocations: 16.19 kB / 1.024 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.7012, allocations: 24 kB / 1.024 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/0.7034, allocations: 1.59 MB / 1.026 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/0.7043, allocations: 451.2 kB / 1.026 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.7199, allocations: 18.18 MB / 1.044 GB, free: 6.047 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.7212, allocations: 147.9 kB / 1.044 GB, free: 5.902 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.7213, allocations: 104 kB / 1.044 GB, free: 5.801 MB / 0.823 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.002363/0.7236, allocations: 1.946 MB / 1.046 GB, free: 3.844 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.7239, allocations: 302.2 kB / 1.046 GB, free: 3.547 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006252/0.7302, allocations: 4.396 MB / 1.051 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.7302, allocations: 24 kB / 1.051 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.48e-05/0.7302, allocations: 16 kB / 1.051 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.7302, allocations: 15.89 kB / 1.051 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.7462, allocations: 9.605 MB / 1.06 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.7462, allocations: 8 kB / 1.06 GB, free: 5.312 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008898/0.7471, allocations: 231.6 kB / 1.06 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.7501, allocations: 1.43 MB / 1.062 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.7503, allocations: 43.98 kB / 1.062 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/0.7659, allocations: 18.18 MB / 1.079 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.7659, allocations: 4 kB / 1.079 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/0.7705, allocations: 4.507 MB / 1.084 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008902/0.7714, allocations: 0.5683 MB / 1.084 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.7716, allocations: 44 kB / 1.084 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.7722, allocations: 111.9 kB / 1.085 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.7725, allocations: 193.5 kB / 1.085 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.7726, allocations: 60 kB / 1.085 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001432/0.774, allocations: 1.315 MB / 1.086 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.774, allocations: 0 / 1.086 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002283/0.7763, allocations: 1.141 MB / 1.087 GB, free: 8.93 MB / 0.8698 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.004592/0.7809, allocations: 5.118 MB / 1.092 GB, free: 3.711 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004965/0.7859, allocations: 4.543 MB / 1.097 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7859, allocations: 5 kB / 1.097 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.7884, allocations: 2.8 MB / 1.099 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.7907, allocations: 0.8953 MB / 1.1 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3944/1.185, allocations: 30.57 MB / 1.13 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003642/1.189, allocations: 3.692 MB / 1.134 GB, free: 246 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001423/1.19, allocations: 0.5519 MB / 1.134 GB, free: 246 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.191, allocations: 1.946 MB / 1.136 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.893e-06/1.191, allocations: 0 / 1.136 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.3, allocations: 88.2 MB / 1.222 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/12.15, allocations: 7.922 kB / 1.222 GB, free: 183.4 MB / 0.8855 GB " [Timeout remaining time 648] (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: 15.278843365143985] Failed to read output from testmodel.py, exit status != 0: 12.26725569088012 12.274989283 11.671961438 Calling exit ...