Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0008099/0.0008099, 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.0008701/0.0008701, allocations: 165.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.9053/0.9053, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.7136/0.7136, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.124e-05, allocations: 12.67 kB / 0.6181 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01105/0.01108, allocations: 10.48 MB / 0.6283 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006189/0.01727, allocations: 5.586 MB / 0.6337 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008296/0.0181, allocations: 71.38 kB / 0.6338 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.02023, allocations: 1.73 MB / 0.6355 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.02228, allocations: 1.212 MB / 0.6367 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.02371, allocations: 0.8246 MB / 0.6375 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.02587, allocations: 2.185 MB / 0.6396 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.02703, allocations: 1.018 MB / 0.6406 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.02854, allocations: 1.212 MB / 0.6418 GB, free: 5.336 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.02966, allocations: 0.8179 MB / 0.6426 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.02985, allocations: 116 kB / 0.6427 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.03154, allocations: 1.079 MB / 0.6438 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004585/0.032, allocations: 0.5686 MB / 0.6443 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005964/0.03259, allocations: 0.5338 MB / 0.6448 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00285/0.03544, allocations: 2.48 MB / 0.6473 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.03545, allocations: 0 / 0.6473 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.03545, allocations: 0 / 0.6473 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.629e-05/0.03551, allocations: 0 / 0.6473 GB, free: 15.72 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002858/0.03837, allocations: 1.824 MB / 0.649 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.03843, allocations: 17.45 kB / 0.6491 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000229/0.03866, allocations: 215.4 kB / 0.6493 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/0.04112, allocations: 0.6786 MB / 0.6499 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.04248, allocations: 0.9206 MB / 0.6508 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.04253, allocations: 98.84 kB / 0.6509 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.04268, allocations: 132.3 kB / 0.651 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.04497, allocations: 2.408 MB / 0.6534 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/0.045, allocations: 12.06 kB / 0.6534 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/0.0451, allocations: 64.11 kB / 0.6535 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.04524, allocations: 158.3 kB / 0.6536 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.04727, allocations: 1.863 MB / 0.6554 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007101/0.05437, allocations: 9.386 MB / 0.6646 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.05682, allocations: 1.859 MB / 0.6664 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.05737, allocations: 0.5542 MB / 0.667 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.796e-05/0.05746, allocations: 28.98 kB / 0.667 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.05749, allocations: 39.56 kB / 0.667 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=103): time 2.665e-06/0.05749, allocations: 0 / 0.667 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=110): time 0.003703/0.06119, allocations: 3.118 MB / 0.6701 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.06124, allocations: 72.41 kB / 0.6701 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/0.06202, allocations: 0.963 MB / 0.6711 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.06206, allocations: 45.7 kB / 0.6711 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.06243, allocations: 0.7416 MB / 0.6719 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.06267, allocations: 396.6 kB / 0.6722 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.06295, allocations: 287.4 kB / 0.6725 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.06303, allocations: 305.1 kB / 0.6728 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/0.06368, allocations: 0.609 MB / 0.6734 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/0.06455, allocations: 1.113 MB / 0.6745 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.06614, allocations: 1.835 MB / 0.6763 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.06615, allocations: 4 kB / 0.6763 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.2741/0.3402, allocations: 2.099 MB / 0.6783 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.3403, allocations: 14.86 kB / 0.6783 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.3403, allocations: 17.78 kB / 0.6784 GB, free: 95.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.3407, allocations: 255.1 kB / 0.6786 GB, free: 95.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.3414, allocations: 375.2 kB / 0.679 GB, free: 95.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/0.3454, allocations: 10.72 MB / 0.6894 GB, free: 85.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009955/0.3464, allocations: 128.7 kB / 0.6895 GB, free: 85.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.3465, allocations: 69.36 kB / 0.6896 GB, free: 85.29 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004741/0.3469, allocations: 401.9 kB / 0.69 GB, free: 85.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3471, allocations: 139.3 kB / 0.6901 GB, free: 85.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.3486, allocations: 1.677 MB / 0.6918 GB, free: 84.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3486, allocations: 11.41 kB / 0.6918 GB, free: 84.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3486, allocations: 2.844 kB / 0.6918 GB, free: 84.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3487, allocations: 12.66 kB / 0.6918 GB, free: 84.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.3515, allocations: 3.118 MB / 0.6948 GB, free: 83.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3515, allocations: 5.531 kB / 0.6948 GB, free: 83.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.3519, allocations: 223.3 kB / 0.6951 GB, free: 83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/0.3523, allocations: 241.1 kB / 0.6953 GB, free: 82.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.3523, allocations: 27.05 kB / 0.6953 GB, free: 82.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/0.3557, allocations: 10.71 MB / 0.7058 GB, free: 72.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3557, allocations: 13.81 kB / 0.7058 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.3573, allocations: 1.79 MB / 0.7075 GB, free: 71.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.3576, allocations: 241 kB / 0.7078 GB, free: 71.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.3577, allocations: 29.7 kB / 0.7078 GB, free: 71.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.358, allocations: 88.16 kB / 0.7079 GB, free: 71.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3582, allocations: 103.8 kB / 0.708 GB, free: 71.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.3582, allocations: 40.59 kB / 0.708 GB, free: 71.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004461/0.3586, allocations: 0.6174 MB / 0.7086 GB, free: 71.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3586, allocations: 0 / 0.7086 GB, free: 71.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008976/0.3595, allocations: 393 kB / 0.709 GB, free: 71.21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/0.3611, allocations: 2.377 MB / 0.7113 GB, free: 69.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.3631, allocations: 2.398 MB / 0.7137 GB, free: 68.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3631, allocations: 0 / 0.7137 GB, free: 68.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009244/0.364, allocations: 1.584 MB / 0.7152 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009621/0.365, allocations: 360.5 kB / 0.7155 GB, free: 67.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.3751, allocations: 11.52 MB / 0.7268 GB, free: 60.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.3756, allocations: 0.7332 MB / 0.7275 GB, free: 60.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006534/0.3762, allocations: 362.8 kB / 0.7279 GB, free: 60.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.3767, allocations: 0.541 MB / 0.7284 GB, free: 60.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.563e-06/0.3767, allocations: 0 / 0.7284 GB, free: 60.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06853/0.4452, allocations: 30.59 MB / 0.7583 GB, free: 52.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.408, allocations: 7.828 kB / 0.7583 GB, free: 52.79 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.168928196653724] Failed to read output from testmodel.py, exit status != 0: 8.50794239807874 8.513626397 8.476677755 Calling exit ...