Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001258/0.001258, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.001253/0.001253, allocations: 218.2 kB / 22.25 MB, free: 3.703 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.999/0.999, allocations: 230.6 MB / 256 MB, free: 9.797 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.7655/0.7655, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.0008473/0.0008473, allocations: 69.92 kB / 0.7182 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4813, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009186/0.4905, allocations: 10.49 MB / 0.8281 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003751/0.4942, allocations: 3.293 MB / 0.8313 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.4945, allocations: 44.91 kB / 0.8314 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.4956, allocations: 0.6293 MB / 0.832 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009595/0.4966, allocations: 0.784 MB / 0.8328 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.4977, allocations: 0.7498 MB / 0.8335 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002617/0.5003, allocations: 3.004 MB / 0.8364 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.5018, allocations: 1.421 MB / 0.8378 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.5031, allocations: 1.283 MB / 0.8391 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.5049, allocations: 1.704 MB / 0.8407 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.5052, allocations: 235.5 kB / 0.841 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.506, allocations: 0.5057 MB / 0.8415 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007749/0.5067, allocations: 1.104 MB / 0.8425 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008273/0.5076, allocations: 1.112 MB / 0.8436 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.5101, allocations: 3.691 MB / 0.8472 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.5101, allocations: 4 kB / 0.8472 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5101, allocations: 1.188 kB / 0.8472 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.465e-05/0.5101, allocations: 0 / 0.8472 GB, free: 15.34 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002547/0.5126, allocations: 2.123 MB / 0.8493 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5127, allocations: 9 kB / 0.8493 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002719/0.513, allocations: 257.2 kB / 0.8496 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.5175, allocations: 1.325 MB / 0.8508 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.5197, allocations: 1.264 MB / 0.8521 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.726e-05/0.5197, allocations: 119.2 kB / 0.8522 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.52, allocations: 144.8 kB / 0.8523 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/0.5238, allocations: 3.44 MB / 0.8557 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.5238, allocations: 6.5 kB / 0.8557 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.5239, allocations: 63.16 kB / 0.8558 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/0.5241, allocations: 208.5 kB / 0.856 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/0.5275, allocations: 3.123 MB / 0.859 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.5388, allocations: 13.47 MB / 0.8722 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.5404, allocations: 1.623 MB / 0.8737 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.5417, allocations: 1.327 MB / 0.875 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.5417, allocations: 17 kB / 0.8751 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5417, allocations: 43.56 kB / 0.8751 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 2.564e-06/0.5417, allocations: 3.938 kB / 0.8751 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.07212/0.6139, allocations: 36.19 MB / 0.9104 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.6139, allocations: 73.41 kB / 0.9105 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.6149, allocations: 1.05 MB / 0.9115 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.615, allocations: 53.7 kB / 0.9116 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.6153, allocations: 0.8093 MB / 0.9124 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.6157, allocations: 0.6584 MB / 0.913 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.6162, allocations: 363.5 kB / 0.9134 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.6162, allocations: 301.1 kB / 0.9137 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.6182, allocations: 1.928 MB / 0.9155 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.6201, allocations: 2.285 MB / 0.9178 GB, free: 14.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003888/0.624, allocations: 4.4 MB / 0.9221 GB, free: 9.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.624, allocations: 4 kB / 0.9221 GB, free: 9.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01143/0.6354, allocations: 8.877 MB / 0.9307 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.6355, allocations: 8 kB / 0.9307 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.6355, allocations: 8 kB / 0.9308 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009033/0.6445, allocations: 4.976 MB / 0.9356 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.645, allocations: 191.7 kB / 0.9358 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03558/0.6805, allocations: 38.53 MB / 0.9734 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6818, allocations: 103.8 kB / 0.9735 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.6819, allocations: 68 kB / 0.9736 GB, free: 4.457 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001098/0.683, allocations: 0.8057 MB / 0.9744 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.6832, allocations: 147.1 kB / 0.9745 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.6946, allocations: 8.738 MB / 0.983 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.6947, allocations: 19.94 kB / 0.9831 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.056e-05/0.6947, allocations: 32 kB / 0.9831 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.6947, allocations: 11.91 kB / 0.9831 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.7104, allocations: 13.24 MB / 0.996 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7104, allocations: 4.469 kB / 0.996 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.7106, allocations: 123.8 kB / 0.9962 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009106/0.7197, allocations: 4.832 MB / 1.001 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.7198, allocations: 39.94 kB / 1.001 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03304/0.7529, allocations: 36.46 MB / 1.037 GB, free: 3.312 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7529, allocations: 7.938 kB / 1.037 GB, free: 3.305 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.7641, allocations: 8.448 MB / 1.045 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008206/0.7649, allocations: 0.5847 MB / 1.045 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.7651, allocations: 40 kB / 1.045 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006022/0.7657, allocations: 87.89 kB / 1.045 GB, free: 10.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/0.7662, allocations: 173.5 kB / 1.046 GB, free: 9.887 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/0.7662, allocations: 48 kB / 1.046 GB, free: 9.84 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006793/0.7669, allocations: 0.7343 MB / 1.046 GB, free: 9.094 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7669, allocations: 7.938 kB / 1.046 GB, free: 9.086 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002145/0.7691, allocations: 1.004 MB / 1.047 GB, free: 8.082 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01125/0.7803, allocations: 9.043 MB / 1.056 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006705/0.787, allocations: 5.743 MB / 1.062 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.787, allocations: 0 / 1.062 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004262/0.7913, allocations: 3.776 MB / 1.066 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009258/0.7922, allocations: 243.2 kB / 1.066 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03603/0.8282, allocations: 30.82 MB / 1.096 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.8296, allocations: 1.855 MB / 1.098 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005254/0.8301, allocations: 359.4 kB / 1.098 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/0.8306, allocations: 0.6086 MB / 1.099 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/0.8306, allocations: 4 kB / 1.099 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4177/1.248, allocations: 78.75 MB / 1.176 GB, free: 288.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.274/10.52, allocations: 3.953 kB / 1.176 GB, free: 288.9 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.473338431911543] Failed to read output from testmodel.py, exit status != 0: 10.620170953916386 10.630314852 10.118653533 Calling exit ...