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.0008096/0.0008096, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000944/0.000944, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8973/0.8973, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7354/0.7354, allocations: 154.6 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.364e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007216/0.007229, allocations: 9.45 MB / 0.6273 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.01055, allocations: 3.139 MB / 0.6304 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.01084, allocations: 43.69 kB / 0.6304 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008595/0.0117, allocations: 0.6054 MB / 0.631 GB, free: 428 kB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008018/0.0125, allocations: 0.8081 MB / 0.6318 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.01329, allocations: 0.7368 MB / 0.6325 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.01521, allocations: 3.042 MB / 0.6355 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.01644, allocations: 1.419 MB / 0.6369 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.01779, allocations: 1.735 MB / 0.6386 GB, free: 8.609 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.01897, allocations: 1.555 MB / 0.6401 GB, free: 7.051 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.01921, allocations: 236 kB / 0.6403 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000531/0.01974, allocations: 495.2 kB / 0.6408 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00074/0.02048, allocations: 1.15 MB / 0.6419 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005545/0.02104, allocations: 0.7874 MB / 0.6427 GB, free: 4.395 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.02316, allocations: 3.794 MB / 0.6464 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.02317, allocations: 0 / 0.6464 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.032e-06/0.02317, allocations: 0 / 0.6464 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.02319, allocations: 4 kB / 0.6464 GB, free: 0.582 MB / 0.6042 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.002292/0.02549, allocations: 2.092 MB / 0.6484 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.02553, allocations: 9.469 kB / 0.6484 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003143/0.02584, allocations: 265.2 kB / 0.6487 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/0.03009, allocations: 1.361 MB / 0.65 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.03156, allocations: 1.261 MB / 0.6512 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.03162, allocations: 115.4 kB / 0.6513 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.03183, allocations: 152.3 kB / 0.6515 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.03508, allocations: 3.512 MB / 0.6549 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.0351, allocations: 4.141 kB / 0.6549 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.03525, allocations: 76.08 kB / 0.655 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/0.03541, allocations: 203.1 kB / 0.6552 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.03862, allocations: 3.12 MB / 0.6582 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009132/0.04776, allocations: 10.07 MB / 0.6681 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.04941, allocations: 1.614 MB / 0.6696 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.05066, allocations: 1.327 MB / 0.6709 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.525e-05/0.05072, allocations: 9 kB / 0.6709 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.05075, allocations: 47.56 kB / 0.671 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=104): time 2.204e-06/0.05075, allocations: 0 / 0.671 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=183): time 0.3586/0.4094, allocations: 36.17 MB / 0.7063 GB, free: 81.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.4094, allocations: 76.28 kB / 0.7064 GB, free: 81.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.4107, allocations: 1.074 MB / 0.7074 GB, free: 80.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.4108, allocations: 56.58 kB / 0.7075 GB, free: 80.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.4112, allocations: 0.8066 MB / 0.7083 GB, free: 80.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.4115, allocations: 0.6379 MB / 0.7089 GB, free: 79.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/0.412, allocations: 362.8 kB / 0.7093 GB, free: 79.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.946e-05/0.412, allocations: 302.3 kB / 0.7095 GB, free: 79.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.414, allocations: 1.931 MB / 0.7114 GB, free: 78.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.4161, allocations: 2.286 MB / 0.7137 GB, free: 77.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.4203, allocations: 4.394 MB / 0.718 GB, free: 75.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.4203, allocations: 3.688 kB / 0.718 GB, free: 75.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01265/0.433, allocations: 8.877 MB / 0.7266 GB, free: 73.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.433, allocations: 8.906 kB / 0.7266 GB, free: 73.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.433, allocations: 9.875 kB / 0.7266 GB, free: 73.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009202/0.4422, allocations: 4.968 MB / 0.7315 GB, free: 72.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.4427, allocations: 196.2 kB / 0.7317 GB, free: 72.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02901/0.4717, allocations: 37.99 MB / 0.7688 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.4729, allocations: 99.89 kB / 0.7689 GB, free: 38.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.473, allocations: 64 kB / 0.7689 GB, free: 38.48 MB / 0.6355 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.00097/0.474, allocations: 0.8079 MB / 0.7697 GB, free: 37.67 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.4741, allocations: 151.1 kB / 0.7699 GB, free: 37.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009953/0.4841, allocations: 8.738 MB / 0.7784 GB, free: 28.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4841, allocations: 21.91 kB / 0.7784 GB, free: 28.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/0.4841, allocations: 29.42 kB / 0.7785 GB, free: 28.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.4841, allocations: 7.969 kB / 0.7785 GB, free: 28.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.4973, allocations: 12.65 MB / 0.7908 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.4973, allocations: 4 kB / 0.7908 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.4976, allocations: 123.8 kB / 0.7909 GB, free: 16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008074/0.5056, allocations: 4.821 MB / 0.7956 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.5057, allocations: 39.94 kB / 0.7957 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03357/0.5393, allocations: 35.92 MB / 0.8308 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.5393, allocations: 11.92 kB / 0.8308 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/0.551, allocations: 8.444 MB / 0.839 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009396/0.552, allocations: 0.578 MB / 0.8396 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.5521, allocations: 44.09 kB / 0.8396 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.5528, allocations: 91.89 kB / 0.8397 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/0.5535, allocations: 169.5 kB / 0.8399 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-05/0.5535, allocations: 51.98 kB / 0.8399 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007106/0.5543, allocations: 0.7382 MB / 0.8406 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5543, allocations: 0 / 0.8406 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002668/0.5569, allocations: 1.004 MB / 0.8416 GB, free: 11.57 MB / 0.6823 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.01158/0.5685, allocations: 9.03 MB / 0.8504 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007057/0.5756, allocations: 5.738 MB / 0.856 GB, free: 12.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5756, allocations: 4.188 kB / 0.856 GB, free: 12.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004656/0.5802, allocations: 3.769 MB / 0.8597 GB, free: 8.867 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5813, allocations: 247.4 kB / 0.86 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03957/0.6209, allocations: 30.89 MB / 0.8901 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.622, allocations: 1.275 MB / 0.8914 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005169/0.6225, allocations: 357.6 kB / 0.8917 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.623, allocations: 0.6058 MB / 0.8923 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of SimCode: time 8.91e-07/0.623, allocations: 0 / 0.8923 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07981/0.7028, allocations: 80.82 MB / 0.9712 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.894, allocations: 7.609 kB / 0.9712 GB, free: 6.355 MB / 0.8073 GB " [Timeout remaining time 651] (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: 11.709027430042624] Failed to read output from testmodel.py, exit status != 0: 8.997116268612444 9.005611015 8.980714971 Calling exit ...