Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0007747/0.0007747, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008051/0.0008051, allocations: 208.6 kB / 22.25 MB, free: 3.59 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.9433/0.9433, allocations: 230.6 MB / 256 MB, free: 9.586 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.8011/0.8011, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0009098/0.0009098, allocations: 63.09 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5492/0.5501, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01412/0.5642, allocations: 13.29 MB / 0.8308 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.5761, allocations: 9.152 MB / 0.8397 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.5777, allocations: 78.94 kB / 0.8398 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.5805, allocations: 1.658 MB / 0.8414 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004626/0.5852, allocations: 1.585 MB / 0.843 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.5871, allocations: 0.7605 MB / 0.8437 GB, free: 156 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003983/0.5911, allocations: 2.54 MB / 0.8462 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.5929, allocations: 1.18 MB / 0.8473 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.5948, allocations: 1.128 MB / 0.8484 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.5965, allocations: 1.097 MB / 0.8495 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.5968, allocations: 164.7 kB / 0.8497 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.5982, allocations: 0.7308 MB / 0.8504 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005714/0.5988, allocations: 0.6292 MB / 0.851 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.5999, allocations: 0.7783 MB / 0.8517 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.6031, allocations: 2.778 MB / 0.8545 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6031, allocations: 0 / 0.8545 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.6031, allocations: 1.375 kB / 0.8545 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.528e-05/0.6032, allocations: 0 / 0.8545 GB, free: 9.41 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003768/0.607, allocations: 2.109 MB / 0.8565 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.607, allocations: 8.844 kB / 0.8565 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.6072, allocations: 196.2 kB / 0.8567 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006664/0.6139, allocations: 2.093 MB / 0.8588 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.6167, allocations: 1.221 MB / 0.86 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.6168, allocations: 90.17 kB / 0.86 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.617, allocations: 124.2 kB / 0.8602 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/0.6217, allocations: 3.081 MB / 0.8632 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/0.6218, allocations: 10.39 kB / 0.8632 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.6219, allocations: 63.47 kB / 0.8632 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004224/0.6223, allocations: 178.8 kB / 0.8634 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005298/0.6276, allocations: 2.793 MB / 0.8661 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.6387, allocations: 8.335 MB / 0.8743 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.6426, allocations: 2.221 MB / 0.8764 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.6445, allocations: 1.206 MB / 0.8776 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.6446, allocations: 9 kB / 0.8776 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.6446, allocations: 43.56 kB / 0.8777 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 4.118e-06/0.6446, allocations: 0 / 0.8777 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.02788/0.6725, allocations: 12.67 MB / 0.89 GB, free: 11 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.6726, allocations: 68.72 kB / 0.8901 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.6737, allocations: 1.133 MB / 0.8912 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.6739, allocations: 49.7 kB / 0.8913 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.6742, allocations: 0.7287 MB / 0.892 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.6746, allocations: 471.9 kB / 0.8924 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.6749, allocations: 267.5 kB / 0.8927 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.675, allocations: 357.9 kB / 0.893 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/0.6769, allocations: 1.335 MB / 0.8943 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.6789, allocations: 1.608 MB / 0.8959 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004104/0.683, allocations: 2.991 MB / 0.8988 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.683, allocations: 8 kB / 0.8988 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006661/0.6897, allocations: 4.397 MB / 0.9031 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.6897, allocations: 20.02 kB / 0.9031 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6897, allocations: 4 kB / 0.9031 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/0.6928, allocations: 1.426 MB / 0.9045 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6939, allocations: 431.3 kB / 0.9049 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.7112, allocations: 25.11 MB / 0.9295 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.7129, allocations: 311.5 kB / 0.9298 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.713, allocations: 67.95 kB / 0.9298 GB, free: 444 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006769/0.7137, allocations: 433.4 kB / 0.9302 GB, free: 0 / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.7139, allocations: 167.2 kB / 0.9304 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007008/0.7209, allocations: 4.41 MB / 0.9347 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.7209, allocations: 16 kB / 0.9347 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/0.721, allocations: 12 kB / 0.9347 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.721, allocations: 11.97 kB / 0.9347 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009543/0.7305, allocations: 6.288 MB / 0.9409 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.7305, allocations: 4 kB / 0.9409 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/0.7315, allocations: 379.3 kB / 0.9412 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/0.7341, allocations: 1.304 MB / 0.9425 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.245e-05/0.7342, allocations: 39.95 kB / 0.9426 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/0.7505, allocations: 23.97 MB / 0.966 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7505, allocations: 4 kB / 0.966 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/0.7569, allocations: 4.16 MB / 0.97 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008568/0.7577, allocations: 386.8 kB / 0.9704 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.7579, allocations: 39.88 kB / 0.9704 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.759, allocations: 303.5 kB / 0.9707 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/0.7595, allocations: 136.6 kB / 0.9709 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.555e-05/0.7595, allocations: 44.16 kB / 0.9709 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008946/0.7604, allocations: 0.7565 MB / 0.9716 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7604, allocations: 0 / 0.9716 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001777/0.7622, allocations: 0.5664 MB / 0.9722 GB, free: 3.219 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006665/0.7689, allocations: 4.747 MB / 0.9768 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.007028/0.7759, allocations: 4.978 MB / 0.9817 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.7759, allocations: 0 / 0.9817 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004017/0.7799, allocations: 3.417 MB / 0.985 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.7818, allocations: 0.5555 MB / 0.9856 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/0.808, allocations: 19.34 MB / 1.004 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008717/0.8088, allocations: 0.8951 MB / 1.005 GB, free: 388 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001296/0.8101, allocations: 421.7 kB / 1.006 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/0.8108, allocations: 0.6281 MB / 1.006 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of SimCode: time 1.583e-06/0.8108, allocations: 0 / 1.006 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08835/0.8991, allocations: 56.38 MB / 1.061 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/9.019, allocations: 3.938 kB / 1.061 GB, free: 7.68 MB / 0.8386 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.01210312359035] Failed to read output from testmodel.py, exit status != 0: 9.126248177606612 9.135118556 8.530069298999999 Calling exit ...