Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0009297/0.0009297, 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.001015/0.001015, allocations: 208.1 kB / 22.24 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.989/0.989, allocations: 230.6 MB / 256 MB, free: 9.625 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.7877/0.7877, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.0009232/0.0009232, allocations: 65.95 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4723, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02511/0.4974, allocations: 31.52 MB / 0.8486 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.5118, allocations: 10.27 MB / 0.8586 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.5147, allocations: 196.7 kB / 0.8588 GB, free: 5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005712/0.5204, allocations: 3.745 MB / 0.8625 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.5254, allocations: 1.949 MB / 0.8644 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.5298, allocations: 2.135 MB / 0.8665 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008373/0.5381, allocations: 7.324 MB / 0.8736 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006995/0.5451, allocations: 5.099 MB / 0.8786 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005418/0.5505, allocations: 3.299 MB / 0.8818 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004776/0.5553, allocations: 3.438 MB / 0.8852 GB, free: 460 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.5565, allocations: 0.6446 MB / 0.8858 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.5594, allocations: 1.661 MB / 0.8874 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002095/0.5615, allocations: 2.619 MB / 0.89 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003565/0.5651, allocations: 2.335 MB / 0.8923 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009162/0.5743, allocations: 10.18 MB / 0.9022 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5743, allocations: 4 kB / 0.9022 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5743, allocations: 0 / 0.9022 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002368/0.5745, allocations: 0 / 0.9022 GB, free: 14.96 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008818/0.5833, allocations: 5.048 MB / 0.9071 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5834, allocations: 12.03 kB / 0.9071 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007918/0.5842, allocations: 0.6859 MB / 0.9078 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/0.5873, allocations: 0.9774 MB / 0.9088 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/0.591, allocations: 2.999 MB / 0.9117 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.5911, allocations: 349.7 kB / 0.912 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/0.5916, allocations: 456.3 kB / 0.9125 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008727/0.6003, allocations: 7.98 MB / 0.9203 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.25e-05/0.6004, allocations: 19.83 kB / 0.9203 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003087/0.6007, allocations: 204 kB / 0.9205 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/0.6009, allocations: 320.9 kB / 0.9208 GB, free: 11.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006879/0.6078, allocations: 5.702 MB / 0.9263 GB, free: 5.641 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02407/0.6319, allocations: 22.69 MB / 0.9485 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.6335, allocations: 1.559 MB / 0.95 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009678/0.6345, allocations: 1.12 MB / 0.9511 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.958e-05/0.6345, allocations: 13.31 kB / 0.9511 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6345, allocations: 47.88 kB / 0.9512 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=133): time 3.196e-06/0.6345, allocations: 0 / 0.9512 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=136): time 0.008225/0.6428, allocations: 6.211 MB / 0.9572 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.6428, allocations: 64.72 kB / 0.9573 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.6442, allocations: 1.527 MB / 0.9588 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.6443, allocations: 45.7 kB / 0.9588 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008953/0.6452, allocations: 2.065 MB / 0.9609 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.6455, allocations: 0.5074 MB / 0.9613 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.6458, allocations: 355.3 kB / 0.9617 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.6459, allocations: 301.1 kB / 0.962 GB, free: 348 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.647, allocations: 0.9136 MB / 0.9629 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.6481, allocations: 1.593 MB / 0.9644 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.6503, allocations: 2.733 MB / 0.9671 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.6503, allocations: 4 kB / 0.9671 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003888/0.6542, allocations: 3.516 MB / 0.9705 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.6542, allocations: 16 kB / 0.9705 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.6542, allocations: 23.94 kB / 0.9706 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.6556, allocations: 0.9001 MB / 0.9714 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.6562, allocations: 355.3 kB / 0.9718 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.6694, allocations: 21.73 MB / 0.993 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.6706, allocations: 100.2 kB / 0.9931 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.6707, allocations: 84 kB / 0.9932 GB, free: 14.3 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002206/0.673, allocations: 1.61 MB / 0.9948 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.6732, allocations: 222.6 kB / 0.995 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/0.6766, allocations: 2.97 MB / 0.9979 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.6766, allocations: 12 kB / 0.9979 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.6766, allocations: 8 kB / 0.9979 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.6766, allocations: 11.97 kB / 0.9979 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007973/0.6846, allocations: 6.719 MB / 1.004 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.6846, allocations: 8 kB / 1.004 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.685, allocations: 171.7 kB / 1.005 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.6862, allocations: 0.8223 MB / 1.005 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.6863, allocations: 31.98 kB / 1.005 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.6983, allocations: 20.6 MB / 1.026 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.6983, allocations: 7.938 kB / 1.026 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/0.7018, allocations: 3.014 MB / 1.029 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009285/0.7027, allocations: 390.5 kB / 1.029 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.7028, allocations: 32 kB / 1.029 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.7033, allocations: 67.91 kB / 1.029 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.7035, allocations: 136.6 kB / 1.029 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.7036, allocations: 36 kB / 1.029 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009606/0.7045, allocations: 0.9756 MB / 1.03 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.7045, allocations: 0 / 1.03 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00221/0.7068, allocations: 0.7891 MB / 1.031 GB, free: 5.922 MB / 0.8073 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003329/0.7101, allocations: 3.606 MB / 1.034 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.7139, allocations: 3.914 MB / 1.038 GB, free: 14.14 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.7139, allocations: 4.312 kB / 1.038 GB, free: 14.13 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.7163, allocations: 2.662 MB / 1.041 GB, free: 11.31 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.7185, allocations: 0.734 MB / 1.042 GB, free: 10.62 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/0.7457, allocations: 22.52 MB / 1.064 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/0.7483, allocations: 2.557 MB / 1.066 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001042/0.7493, allocations: 454 kB / 1.066 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.7505, allocations: 1.542 MB / 1.068 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.335e-06/0.7505, allocations: 0 / 1.068 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09675/0.8472, allocations: 65.7 MB / 1.132 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/9.23, allocations: 7.938 kB / 1.132 GB, free: 13.51 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.616268168669194] Failed to read output from testmodel.py, exit status != 0: 9.336067317053676 9.66139485 8.767827448 Calling exit ...