Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001151/0.001151, 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.0008716/0.0008716, allocations: 208.1 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.9173/0.9173, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7502/0.7502, allocations: 203.5 MB / 0.5039 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 4.0.0/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,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.0009161/0.0009161, allocations: 66.75 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4979, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02868/0.5265, allocations: 33.68 MB / 0.8503 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.5405, allocations: 10.01 MB / 0.8601 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.544, allocations: 195.3 kB / 0.8602 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.5489, allocations: 3.825 MB / 0.864 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.5531, allocations: 2.148 MB / 0.8661 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.5566, allocations: 1.965 MB / 0.868 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007839/0.5644, allocations: 7.969 MB / 0.8758 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006167/0.5706, allocations: 5.228 MB / 0.8809 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/0.5749, allocations: 3.498 MB / 0.8843 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.5786, allocations: 3.707 MB / 0.8879 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006327/0.5793, allocations: 0.6758 MB / 0.8886 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.581, allocations: 1.354 MB / 0.8899 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.5828, allocations: 2.685 MB / 0.8925 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.5848, allocations: 2.514 MB / 0.895 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006303/0.5911, allocations: 10.46 MB / 0.9052 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5911, allocations: 0 / 0.9052 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5911, allocations: 0 / 0.9052 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.977e-05/0.5912, allocations: 4 kB / 0.9052 GB, free: 11.91 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.00642/0.5976, allocations: 5.455 MB / 0.9105 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5977, allocations: 12.03 kB / 0.9105 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006753/0.5983, allocations: 0.7061 MB / 0.9112 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.601, allocations: 0.9889 MB / 0.9122 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.6049, allocations: 3.136 MB / 0.9152 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.6051, allocations: 357.9 kB / 0.9156 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004542/0.6056, allocations: 468.3 kB / 0.916 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008579/0.6141, allocations: 8.671 MB / 0.9245 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.065e-05/0.6142, allocations: 19.83 kB / 0.9245 GB, free: 7.426 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/0.6146, allocations: 208 kB / 0.9247 GB, free: 7.223 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003043/0.6149, allocations: 369.1 kB / 0.9251 GB, free: 6.859 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006532/0.6214, allocations: 5.926 MB / 0.9309 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.6404, allocations: 23.74 MB / 0.954 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.6427, allocations: 2.003 MB / 0.956 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.6439, allocations: 1.325 MB / 0.9573 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.276e-05/0.6439, allocations: 21.31 kB / 0.9573 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.644, allocations: 55.81 kB / 0.9574 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=157): time 3.066e-06/0.644, allocations: 4 kB / 0.9574 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of matching and sorting (n=160): time 0.008597/0.6526, allocations: 6.659 MB / 0.9639 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.6526, allocations: 68.72 kB / 0.9639 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.6542, allocations: 1.911 MB / 0.9658 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.283e-05/0.6543, allocations: 57.7 kB / 0.9659 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009122/0.6552, allocations: 2.184 MB / 0.968 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.6556, allocations: 0.5849 MB / 0.9686 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/0.6559, allocations: 404 kB / 0.969 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.656, allocations: 305.1 kB / 0.9692 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.6573, allocations: 1.066 MB / 0.9703 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.6586, allocations: 1.76 MB / 0.972 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.6611, allocations: 3.049 MB / 0.975 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-06/0.6611, allocations: 4 kB / 0.975 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004108/0.6652, allocations: 3.911 MB / 0.9788 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.6652, allocations: 12 kB / 0.9788 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.6653, allocations: 24 kB / 0.9788 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.6666, allocations: 0.9273 MB / 0.9797 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.6674, allocations: 435.2 kB / 0.9802 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.6801, allocations: 21.37 MB / 1.001 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.6814, allocations: 119.9 kB / 1.001 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.6815, allocations: 95.98 kB / 1.001 GB, free: 5.934 MB / 0.7761 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.002174/0.6837, allocations: 1.654 MB / 1.003 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.6839, allocations: 266.4 kB / 1.003 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/0.6874, allocations: 3.236 MB / 1.006 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6874, allocations: 16 kB / 1.006 GB, free: 0.7031 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6874, allocations: 12 kB / 1.006 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.6875, allocations: 7.969 kB / 1.006 GB, free: 0.6836 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007566/0.695, allocations: 7.162 MB / 1.013 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.695, allocations: 4 kB / 1.013 GB, free: 9.371 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.6955, allocations: 219.6 kB / 1.014 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.6968, allocations: 0.897 MB / 1.014 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/0.6968, allocations: 32 kB / 1.014 GB, free: 8.191 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/0.7099, allocations: 21.35 MB / 1.035 GB, free: 1.469 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.7099, allocations: 11.94 kB / 1.035 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.7138, allocations: 3.365 MB / 1.039 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/0.7145, allocations: 486.1 kB / 1.039 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.7147, allocations: 39.88 kB / 1.039 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.7153, allocations: 91.88 kB / 1.039 GB, free: 13.38 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/0.7155, allocations: 144.9 kB / 1.039 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.7156, allocations: 48 kB / 1.039 GB, free: 13.18 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001178/0.7168, allocations: 1.221 MB / 1.041 GB, free: 11.95 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.7168, allocations: 0 / 1.041 GB, free: 11.95 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001977/0.7188, allocations: 0.9062 MB / 1.041 GB, free: 11.04 MB / 0.823 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003411/0.7222, allocations: 3.966 MB / 1.045 GB, free: 6.957 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004134/0.7263, allocations: 4.291 MB / 1.049 GB, free: 2.512 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7263, allocations: 4 kB / 1.049 GB, free: 2.508 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.7286, allocations: 2.91 MB / 1.052 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.7307, allocations: 0.8283 MB / 1.053 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02485/0.7556, allocations: 25.24 MB / 1.078 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/0.7582, allocations: 2.669 MB / 1.08 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00116/0.7594, allocations: 0.5254 MB / 1.081 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/0.7606, allocations: 1.651 MB / 1.083 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of SimCode: time 1.393e-06/0.7606, allocations: 0 / 1.083 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4669/1.227, allocations: 74.98 MB / 1.156 GB, free: 277 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/9.696, allocations: 7.984 kB / 1.156 GB, free: 277 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.678826775867492] Failed to read output from testmodel.py, exit status != 0: 9.808040286879987 9.821884886 9.22785082 Calling exit ...